home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
batchlrn.arc
/
TMENUBAT.EX
< prev
next >
Wrap
Text File
|
1991-06-17
|
3KB
|
59 lines
...THIS IS AN EXAMPLE OF A BATCH FILE TO DISPLAY MULTI-PAGE READ FILE:
(comments are at right enclosed in brackets [ ])
ECHO OFF [creating file w/Edlin, start w/echo off/precludes REM]
CLS [clearing scrn removes echo off message quickly]
ECHO ***
ECHO ***
ECHO *** [these are being used
ECHO *** to space out the first
ECHO *** scrn to make it a full
ECHO *** 23 lines. Create by typ-
ECHO *** line 5, then repeating
ECHO *** w/F3 key saves time!]
ECHO ***
ECHO ***
ECHO ***
ECHO ***
ECHO ***
ECHO ***
ECHO . . .With this "READ" file you will be reviewing the TIMEMASTER
ECHO MENU System Disk. The following materials are actual samples &
ECHO extracts from the TM MENU PROGRAM DISK: [your scrn message]
SLEEP 6 [pauses to give reader a chance to review]
ECHO OFF [you may have to do this often to keep .BAT "proper"]
CLS [lines 21 & 22 keep the scrn "clean"]
TYPE TMMENU.RD1 | MORE [the MORE creates the pauses, allows unlimited
SLEEP 10 # bytes in file! SLEEP 10 is for LAST page!]
ECHO OFF [keeping uncluttered again!]
CLS [25 & 26 always go together]
BOOP [let`s reviewer know something's happening w/a tone]
TYPE TMMENU.SMP | MORE [to display something else!]
SLEEP 8 [you know why--for LAST page!]
ECHO OFF [30 & 31
CLS are "going steady"!]
ECHO ...NOW LET'S GO BACK TO SOME OF THE SAMPLE TM MENU FILES...
TYPE TMMENU.RD2 | MORE [note line 32 "centering".Remember MORE?(li33)]
SLEEP 8
ECHO OFF
CLS
ECHO # [remember, F3 repeat technique]
ECHO # [just
ECHO # another
ECHO # way to
ECHO # space out]
ECHO #
ECHO . . . KEEP IN mind---THIS IS A demo disk READ FILE, ONLY A small
ECHO PORTION OF THE TIMEMASTER MENU SYSTEM IS SHOWN FOR ILLUSTRATION!
ECHO . . . WE THINK WE HAVE SOMETHING VERY special HERE--HOW ABOUT YOU?
ECHO . . . ENDING T H I S R E A D F I L E PROGRAM . . .
ECHO *
ECHO *
ECHO *
ECHO *
ECHO . . . PROGRAM END---[automatically]---RETURNING TO CURRENT DRIVE. . .
SLEEP 6
BOOP
CLS [always end with a CLS]
YOU SHOULD NOW KNOW HOW TO DO A MULTI-PAGE .BAT FILE---IN SPADES!!